/**
 * @projectName: petJoyHome
 * @author: 小飞
 * @description: TODO
 * @date: 2024/3/1 14:18
 * @version: 1.0
 */
package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 项目启动类
 */
@SpringBootApplication
@EnableWebMvc
@MapperScan("com.home.mapper") // 指定 Mapper 接口包路径
@EnableMethodSecurity
public class PetJoyHomeApplication {
    public static void main(String[] args) {
        SpringApplication.run(PetJoyHomeApplication.class,args);
    }
}
